<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Lugar
 *
 * @author Albert
 */
class Place {
    public $latitude;
    public $longitude;
    public $idType;
    public $name;
    public $id;
    public $callback;
    
    public function __construct() {
        $this->latitude = null;
        $this->longitude = null;
        $this->idType = 0;
        $this->name = null;
        $this->id = null;
    }
    
    /* ********************************************** */
    /* Setters ************************************** */
    
    public function setId($id) {
        $this->id = $id;
    }
    
    public function setLatitude($lat) {
        $this->latitude = $lat;
    }
    
    public function setLongitude($lon) {
        $this->longitude = $lon;
    }
    
    public function setIdType($id) {
        $this->idType = $id;
    }
    
    public function setName($name) {
        $this->name = $name;
    }
    
    
    /* ********************************************** */
    /* Getters ************************************** */
    
    public function getId(){
        return $this->id;
    }
    
    public function getLatiude() {
        return $this->latitude;
    }
    
    public function getLongitude() {
        return $this->longitude;
    }
    
    public function getIdType() {
        return $this->idType;
    }
    
     public function getName() {
        return $this->name;
    }
}

?>
